package org.smarthings.things.automation.engine;

import org.smarthings.things.management.ThingAction;
import org.smarthings.things.management.ThingActionCollection;

public class ThingActionCollectionFacade {

	private ThingActionCollection actions;

	public ThingActionCollectionFacade(ThingActionCollection actions) {
		this.actions = actions;
	}

	public ThingAction byType(String type) {
		return actions.getActionByType(type);
	}

	public ThingAction byUUID(String UUID) {
		return actions.getActionByUUID(UUID);
	}

}
